package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.Product;
import com.ruoyi.system.domain.RechargeRecord;
import com.ruoyi.system.domain.vo.ClientRechargeRecordListResVo;
import com.ruoyi.system.domain.vo.ClientRechargeRecordListVo;
import com.ruoyi.system.mapper.ProductMapper;
import com.ruoyi.system.mapper.RechargeRecordMapper;
import com.ruoyi.system.service.IRechargeRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RechargeRecordServiceImpl extends ServiceImpl<RechargeRecordMapper, RechargeRecord> implements IRechargeRecordService{

    @Autowired
    private RechargeRecordMapper rechargeRecordMapper;
    @Override
    public IPage<ClientRechargeRecordListResVo> clientRechargeRecordList(Page<ClientRechargeRecordListResVo> page, ClientRechargeRecordListVo clientRechargeRecordListVo) {
        return rechargeRecordMapper.clientRechargeRecordList(page, clientRechargeRecordListVo);
    }
}
